<div class="workmedialist"><?$limit=isset($limit)?$limit:100;$height=isset($height)?$height:90;foreach($content->orderby('position')->limit($limit ,0)->contmedlinks as $link){	$media=$link->media;	$url=$media->get_tinted_url(1000,$height,'55257f');	echo '<div class="medianavi_elm">';	echo html::anchor('page/view/'.$this->page->shortname.'/'.$content->shortname,html::image($url));	echo '</div>';}echo '<div class="clear"></div>';?></div>